docker stop $(docker ps -a | grep "eipwork/kuboard" | awk '{print $1 }')
docker rm $(docker ps -a | grep "eipwork/kuboard" | awk '{print $1 }')

docker run -d \
  --restart=unless-stopped \
  --name=kuboard \
  -p 30000:80/tcp \
  -p 30443:10081/udp \
  -p 30443:10081/tcp \
  -e KUBOARD_ENDPOINT="http://192.168.1.90:30000" \
  -e KUBOARD_AGENT_SERVER_UDP_PORT="30443" \
  -e KUBOARD_AGENT_SERVER_TCP_PORT="30443" \
  -v /home/kuboard/kuboard-data:/data \
  eipwork/kuboard:v3.1.0.5

echo "用户名： admin"
echo "密码： Kuboard123"

docker logs -f kuboard